all: thread_create thread_paraTrans thread_paraStruct thread_exit thread_release thread_release1 thread_clear thread_cancel thread_signal

thread_create:thread_create.cpp
	g++ -g -o thread_create thread_create.cpp -lpthread

thread_paraTrans:thread_paraTrans.cpp
	g++ -g -o thread_paraTrans thread_paraTrans.cpp -lpthread

thread_paraStruct:thread_paraStruct.cpp
	g++ -g -o thread_paraStruct thread_paraStruct.cpp -lpthread

thread_exit:thread_exit.cpp
	g++ -g -o thread_exit thread_exit.cpp -lpthread

thread_release:thread_release.cpp
	g++ -g -o thread_release thread_release.cpp -lpthread

thread_release1:thread_release1.cpp
	g++ -g -o thread_release1 thread_release1.cpp -lpthread

thread_clear:thread_clear.cpp
	g++ -g -o thread_clear thread_clear.cpp -lpthread

thread_cancel:thread_cancel.cpp
	g++ -g -o thread_cancel thread_cancel.cpp -lpthread

thread_signal:thread_signal.cpp
	g++ -g -o thread_signal thread_signal.cpp -lpthread

clean:
	rm thread_create thread_paraTrans thread_paraStruct thread_exit thread_release thread_release1 thread_clear thread_cancel thread_signal